package com.wsz.logistic.mapper;

import com.wsz.logistic.bean.City;
import com.wsz.logistic.bean.Province;

import java.util.List;

public interface CityMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(City record);

    int insertSelective(City record);

    City selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(City record);

    int updateByPrimaryKey(City record);

    List<City> getAll(Province province);

    List<City> getAllByPId(Integer provinceId);
}